package com.util.common.sql;

public class SQLBlockFactory {
	private static String DATA_BASE_NAME;
	
	public static CommSQLBlock CreateCommSQLBlock(){
		if(DATA_BASE_NAME == null){
			DATA_BASE_NAME = "";//SystemParam.getSysProp().getProperty("database");
		}
		if("mysql".equals(DATA_BASE_NAME)){
			return new MysqlBlockImp();
		}
		return new OracleBlockImp();
	}
}
